<%@ page import="history.Account" %>



<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'login', 'error')} required">
	<label for="login">
		<g:message code="account.login.label" default="Login" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="login" required="" value="${accountInstance?.login}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="account.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" required="" value="${accountInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'pw', 'error')} required">
	<label for="pw">
		<g:message code="account.pw.label" default="Pw" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="pw" required="" value="${accountInstance?.pw}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'memo', 'error')} ">
	<label for="memo">
		<g:message code="account.memo.label" default="Memo" />
		
	</label>
	<g:textField name="memo" value="${accountInstance?.memo}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: accountInstance, field: 'team', 'error')} required">
	<label for="team">
		<g:message code="account.team.label" default="Team" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="team" name="team.id" from="${history.Team.list()}" optionKey="id" required="" value="${accountInstance?.team?.id}" class="many-to-one"/>
</div>

